#ifndef _GAME_SCREEN_H_
#define _GAME_SCREEN_H_

#include <widgets.h>

#include "simulation.h"

class GameScreen: public State
{
  public:
  GameScreen(int num_players, AI** ai);
  
  bool create();
  void destroy();
  
  void update(unsigned dM, float dT);
  
  void handleKeyDown(const GUIKeyDownEvent* event);
  void handleWidgetEvent(const GUIWidgetEvent* event);
  
  private:
  Background* _background;
  Viewport* _viewport;
  
  SimulationParameters _sim_parameters;
  Simulation* _simulation;
};

#endif
